﻿using A.M.ETO;
using A.M.Storage.I_Application;
using L.M.System.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace L.M.System.Application.IServices
{
    public interface IRole_permission_tableServices: IBaseServices<role_permission_table,string>
    {
        /// <summary>
        /// 反填该角色下的一级权限
        /// </summary>
        /// <param name="rId">角色编号</param>
        /// <returns>反填该角色下的一级权限</returns>
        Task<ApiReturn<string>> GetRome_OneInfor(string? rId);

        /// <summary>
        /// 反填第二级权限
        /// </summary>
        /// <param name="rId">角色编号</param>
        /// <returns>反填第二级权限</returns>
        Task<ApiReturn<string>> GetRole_TwoInfor(string? rId);
    }
}
